package OoDay01.Practice1;

public class CarTest {
    public static void main(String[] args) {
        Car car1=new Car();
        car1.price=10;
        car1.color="白";
        car1.brand="大众";

        car1.start();
        car1.run();
        car1.stop();

        Car car2=new Car(15,"灰","五菱");
        Car car3=new Car(30,"黑","奥迪");
        Car car4=new Car(50,"黑","奔驰");
        car2.run();
        car3.start();
        car4.stop();


    }
}
